<?php
class AclRecord
{
	//access
	public static $mAccess = array(
        //id => 'name'
		1 => 'read',
		2 => 'write',
		4 => 'delete',
	);

	//role
	public static $mRole = array(
        //id => 'name'
		1 => 'admin',
		2 => 'dev',
		4 => 'product',
		8 => 'pm',
	);

	//role access list 
	public static $mRoleAccess = array(
        //role_id => access_list, access_list = access_id + access_id + ...
        1 => 7,	
		2 => 3,	
		4 => 1,
		8 => 3,
	);

	//user role list 
	public static $mUserRole = array(
        //user_id => role_list , role_list  = role_id + role_id + ...
        1 => 1,
		2 => 2,
		3 => 4,
		4 => 14,
	);

} //end class
